// 修改主题色
/* 改变主题色变量 */
$--color-primary:#19B560;
/* 改变 icon 字体路径变量，必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';
@import "~element-ui/packages/theme-chalk/src/index";

body {
  margin: 0;
  padding: 0;
  background: #fafbfe;
}

.el-main {
  >.mapHeight {
    height: calc(100% - 0.6rem)
  }
}
.el-main::-webkit-scrollbar {
  width: 0; /* 滚动条宽度 */
}
.el-container {
  position: relative;
}
.dateClass {
  border: none;
  width: 3.5rem !important;
  padding: 0 !important;
  .el-range__icon {
    display: none;
  }
  .el-range-input {
    border: 1px solid #DCDFE6;
    border-radius: 0.05rem;
  }
  .el-range-separator {
    line-height: 42.5px;
  }
}
.mrGrey {
  color: #999;
  > span {
    color: #333;
    margin-left: 0.1rem
  }
}
.greyBackground {
  .el-input__inner {
    background: rgba(196, 196, 196, 0.2)
  }
  .el-input__suffix {
    color: #999
  }
}
.greenColorBtn {
  color: #00C586
}
.greenBtn {
  background: #00C586 !important;
  border: 1px solid #00C586 !important;
}
.greyBtn {
  color: #C5C5C5 !important;
  background: #F6F6F6 !important;
  border: 1px solid #F6F6F6 !important;
}
.whiteGreenBtn {
  color: #00C586 !important;
  background: #fff !important;
  border: 1px solid #00C586 !important;
}
.tableNewBox {
  th.el-table__cell {
    background: #fff !important;
    color: #333333 !important;
    font-weight: bold !important;
    font-size: 0.8vw !important;
  }
  .el-table__row:nth-child(2n - 1) {
    background: #FAFAFA;
  }
  .el-table__body tr:hover > td.el-table__cell {
    background: rgba(0, 197, 134, 0.3) !important;
  }
}
.flexState {
  display: flex;
  align-items: center;
  .greenBorder {
    width: 0.5vw;
    height: 0.5vw;
    background: #00B42A;
    border-radius: 50%;
    margin-right: 0.4vw;
  }
  .greyBorder {
    width: 0.5vw;
    height: 0.5vw;
    background: #C9CDD4;
    border-radius: 50%;
    margin-right: 0.4vw;
  }
}
.el-pagination.is-background .btn-prev, .el-pagination.is-background .btn-next {
  background-color: unset;
}
.redButton {
  color: #FA6621
}
.greenButton {
  color: #00C586
}
.routeName {
  font-size: 1.2vw;
  font-weight: bold;
}
.alertClass{
  .el-message-box__header {
    padding-bottom: 5px;
  }
  .el-message-box__title {
    font-weight: bold;
    text-align: center;
    padding-top: 25px;
  }
  .el-message-box__message {
    text-align: center;
    padding: 0 35px;
    color: #F76560
  }
  .el-message-box__content {
    padding: 10px 15px 30px 15px;
    border-bottom: 1px solid #00000014
  }
  .el-message-box__btns {
    text-align: center;
    padding: 15px 15px 5px 15px;
  }
  .el-button {
    border: 1px solid #00C586;
  }
  .el-button--primary {
    background: #00C586;
  }
}
.dialogClass  {
  .el-dialog {
    margin-top: 35vh !important;
    border-radius: 4px;
  }
  .el-dialog__header {
    display: none;
  }
  .dialogHeader {
    font-weight: bold;
    text-align: center;
    padding-top: 15px;
    font-size: 18px;
    line-height: 1;
    color: #303133;
  }
  .dialogMessage {
    text-align: center;
    padding: 18px 0 30px 0;
    color: #999
  }
  .el-dialog__body {
    padding: 30px 0 15px 0;
    border-radius: 4px;
    .el-date-editor.el-input {
      width: 290px;
      margin-left: 5px;
    }
  }
  .dialogTime {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dialogFooter {
    padding-top: 15px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #00000014
  }
  .editBtn {
    background: #00C586;
    border-radius: 3px;
  }
  .editBtnNone {
    background: none;
    color: #666666;
    border-color: #00C586;
    margin-right: 7px
  }
  .dialogButton {
    padding: 30px 0 0 20px;
    .typeBtn {
      padding: 9px 24px;
      margin-left: 0 !important;
      margin-right: 12px !important;
      margin-bottom: 15px !important;
    }
    .el-button:hover, .el-button:focus {
      background: url('~@/assets/iconImage/checkBtn.png');
      color: #FA6621;
      background-size: 100% 100%
    }
  }
  .dialogClose {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    padding: 0 20px;
    i {
      font-size: 20px
    }
  }
}
.noRequire.is-required {
  .el-form-item__label:before {
    display: none;
    margin-right: 0
  }
}
.suffixText {
  color: #333333;
  margin-right: 6px
}
.submitBottom {
  position: fixed;
  bottom: 0;
  left: 12.5vw;
  width: 87.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.2rem 0;
  background: #fff;
  box-shadow: 0px -4px 8px 0px rgba(0,0,0,0.05);
  .editBtn {
    background: #00C586;
    border-radius: 3px;
  }
  .editBtnNone {
    background: none;
    color: #666666;
    border-color: #00C586;
    margin-right: 0.3vw
  }
}
.mapGreenBtn {
  background: #00C586;
  border-radius: 3px;
  color: #fff;
  border-color: #00C586;
  .btnFlex {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  img {
    width: 20px;
    margin-right: 5px;
  }
}
.mapWhiteBtn {
  background: #fff;
  border-radius: 3px;
  border-color: #00C586;
}
.errorForm {
  .el-form-item__error {
    background: url("~@/assets/img/vectorClose.png");
    background-repeat: no-repeat;
    background-position: left 6px;
    background-size: 10px 10px;
    padding-left: 15px;
    height: 25px;
  }
  .el-form-item {
    margin-bottom: 30px
  }
  .widthInput {
    width: 280px;
  }
  .maxInput {
    width: 100%;
  }
  .el-button:focus {
    background: url('~@/assets/iconImage/checkBtn.png') !important;
    color: #FA6621 !important;
    background-size: 100% 100% !important
  }
  // .el-input--suffix .el-input__inner  {
  //   padding-right: 50px;
  // }
}
.widthSuffix {
  .el-input__inner  {
    padding-right: 50px;
  }
}
.backFont {
  display: flex;
  justify-content: space-between;
  .el-button {
    font-weight: bold;
    padding: 10px 11px;
  }
}
.typeBtn {
  background: #F8F8F8;
  border: 1px solid #F8F8F8;
  color: #333333;
  margin-bottom: 1vh;
  margin-left: 0 !important;
  margin-right: 10px !important
}
.checkBoxAll {
  background: url('~@/assets/iconImage/checkBtn.png');
  color: #FA6621;
  background-size: 100% 100%
}
.flexEnd {
  justify-content: flex-end !important;
}
.mt10 {
  margin-top: 10px
}
.mt15 {
  margin-top: 15px
}
.mt20 {
  margin-top: 20px
}
.btnImage {
  height: 13px;
  vertical-align: text-top;
  margin-right: 5px;
}
.tableGreenBox {
  .tableGreen {
    border-radius: 4px;
    border: 1px solid #00C586;
    th.el-table__cell.is-leaf {
      border-right: 1px solid rgba(0, 197, 134, 0.3);
      border-bottom: 1px solid rgba(0, 197, 134, 0.3);
      background: #CCF3E7;
      color: #000
    }
    td.el-table__cell {
      border-bottom: 1px solid rgba(0, 197, 134, 0.3);
      border-right: 1px solid rgba(0, 197, 134, 0.3);
      color: #666;
    }
    td.el-table__cell:last-child, th.el-table__cell.is-leaf:last-child{
      border-right: none;
    }
  }
}
.greyColor {
  color: #999
}
.relative {
  position: relative;
  height: 100%;
  .selectInputMax {
    width: 700px;
  }
}
.blackColor {
  color: #333333
}
.typeSpan {
  background: #e8f7ef;
  border-radius: 2px;
  font-size: 12px;
  color: #00C586;
  border: 1px solid #00C586;
  margin-left: 5px;
  padding: 1px 4px 2px 4px;
}
.redColorFt {
  color: #F76560
}
.greenColorFt {
  color: #19B560
}
.ml15 {
  margin-left: 15px;
}
.mb20 {
  margin-bottom: 20px;
}